projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7021382
)
(x_get_glyph_overhangs): Fix calculation of right
author
Kenichi Handa
<handa@m17n.org>
Thu, 11 Jun 2009 02:34:34 +0000
(
02:34
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 11 Jun 2009 02:34:34 +0000
(
02:34
+0000)
overhang for the static composition case.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 8d94bfb9db239abae81899cd16001f1ff06bdc45..0f3674433b532e5b35982a87fcc9bcc02444f1ef 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-19915,8
+19915,8
@@
x_get_glyph_overhangs (glyph, f, left, right)
if (cmp->rbearing > cmp->pixel_width)
*right = cmp->rbearing - cmp->pixel_width;
- if (cmp->lbearing < 0)
;
- *left = - cmp->lbearing;
+ if (cmp->lbearing < 0)
+
*left = - cmp->lbearing;
}
else
{